home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 November / macformat-018.iso / Demos / Extend 3.0 Demo / Demo Libraries / Demo Generic Lib / Demo Generic Lib.rsrc / HELP_21105_Conversion Table < prev    next >
Encoding:
Text File  |  1994-06-22  |  2.1 KB  |  33 lines

  1. This block acts like a lookup table. It contains a table of values (x in and y out) that are used to calculate what the output value would be for the given input. The table of values defines a curve; the output is calculated based on where the input occurs on the curve. The table may be typed into the dialog, imported from a file, or pasted from the Clipboard using the commands in the Edit menu. The values in the table do not need to be in sorted order. 
  2.  
  3. You can choose in the dialog whether input values outside the range of the table cause this block to stop the simulation with an error message or give an output of 0. You can choose to sort the data and to plot it from the dialog. You can also specify whether the curve is linearly interpolated or stepped.
  4.  
  5. The conversion table may have up to 500 points. You must have at least two rows in the table.
  6.  
  7. You can use conversion tables as a lookup table for price/unit or customers/server.
  8.  
  9. Dialog Choices
  10. interpolated: Causes Extend to calculate the output based on straight-line interpolation between the data points in the table. The output value changes each time the input value changes. For example, if the input is half way between two consecutive values in the x in table, the output will be half way between the corresponding y out values.
  11.  
  12. Plot Data: Shows a plot of the data in the table.
  13.  
  14. Sort Data: Causes the data in the table to be sorted in ascending order based on the x in values.
  15.  
  16. stepped: The output value does not change until the input becomes greater than or equal to the next x in value in the table (the next threshold value).
  17.  
  18. stop simulation: Stops the simulation when the input value is not within the range of x values in the data table.
  19.  
  20. x in: x value for the x-y pair.
  21.  
  22. y out: y value for the x-y pair.
  23.  
  24. zero output: Sets the output to 0 when the input value is not within the range of x in values in the data table.
  25.  
  26. Connectors
  27. The input is the x value that you want to look up in the table.
  28.  
  29. The output is the y value calculated from the table, based on the input.
  30.  
  31. Extend Generic Library        
  32. Copyright © 1989-1994 by Imagine That, Inc.
  33. All rights reserved. For use with Extend™ only.